﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BotDetector
{
    class Converter : IConverter<Bing.WebResult,ResultItem>
    {
        public ResultItem Convert(Bing.WebResult from)
        {
            ResultItem to = new ResultItem();
            to.URL = from.Url;
            to.Title = from.Title;
            to.Description = from.Description;
            return to;
        }
    }
}
